<%@page import="org.springframework.security.web.WebAttributes"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>dms login</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="themes/css/login.css" rel="stylesheet" type="text/css" />
	
	<script language="JavaScript" type="text/javascript">
		function delayURL(url) {
			var delay = document.getElementById("time").innerHTML;
			if(delay > 0) {
				delay--;
				document.getElementById("time").innerHTML = delay;
			} else {
				window.top.location.href = url;
			}
			setTimeout("delayURL('" + url + "')", 1000);
		}
	</script>
	
  </head>
  
  
<body>
    
	<div style="margin-top:200px; text-align:center;"><span id="time" style="font-size:22px;">6</span><font style="font-size:22px;">秒钟后跳转至登录页面，</font><a href="<%=basePath%>"><font style="color:blue;font-size:22px;">或点击这里重新登录</font></a></div>
	<script type="text/javascript">
	delayURL('<%=basePath%>');
	</script>
</body>
</html>
